From bd696e1a0ec884e98e4998d7f722adbd203d6eb6 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 17 Apr 2007 20:44:38 +0000 Subject: [PATCH] Do not substitute __VERSION__ for non-ambiguous testo results. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2751 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/csv_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/csv_util.c b/gpsbabel/csv_util.c index d186bcff4..a1a7edf87 100644 --- a/gpsbabel/csv_util.c +++ b/gpsbabel/csv_util.c @@ -1563,7 +1563,7 @@ xcsv_data_write(void) cout = ctmp; } - while ((ctmp = strsub(cout, "__VERSION__", gpsbabel_version))) { + while ((ctmp = strsub(cout, "__VERSION__", (time == 0) ? "" : gpsbabel_version))) { xfree(cout); cout = ctmp; } -- 2.30.2